<%@ page contentType="text/html;charset=UTF-8" %>
<html>
  <head><title>Pagina de Login</title></head>
  <meta name="layout" content="main" />
  <body>
    <div class="body">
      <g:if test="${flash.message}">
        <div class="message">
          ${flash.message}
        </div>
      </g:if>
      <p> Bienvenido al Gestor de Clientes de Treda Solutions </p>

      <form action="handleLogin">

        <span class='nameClear'>

            Ingresar:

        </span>
        <g:select name='vendedorCedula' from="${Vendedor.list()}" optionKey="cedula"></g:select>
        <br />
        <div class="buttons">
          <span class="button"><g:actionSubmit value="Ingresar" action="handleLogin"/></span>
        </div>
      </form>
    </div>
  </body>
</html>